Release 10.1A: OpenEdge Development:
Java Open Clients
Defining a ProcObject that maps a SmartDataObject
To directly access the SmartDataObject API, you need to use API methods that handle all control and communication with the remote SmartDataObject, as required by your application. You can access the SmartDataObject API by defining a ProcObject in ProxyGen that supports this interface. Define the ProcObject to include all the methods (internal procedures and user-defined functions) you want to access in the specified SmartDataObject instance.
To define the methods for this ProcObject and generate the proxy, you first must make the r-code for the corresponding SmartDataObject available to ProxyGen. You do this by setting the ProxyGen Propath Components list appropriately. For more information on locating the r-code for a SmartDataObject, see the information on SmartDataObject support in OpenEdge Application Server: Developing AppServer Applications .
![]()
To ensure all parameters, internal procedures, and user-defined procedures of the ProcObject allow Progress Unknown value (
?), do this in ProxyGen:For more information on defining ProcObjects in ProxyGen, see OpenEdge Development: Open Client Introduction and Programming
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |